var express = require('express')
var app = express()
var router = require('./router')
app.get('/',(req,res)=>{
  res.send(req.url)
})
app.use(router)
console.log(router);

// router(app)
app.use(express.static('./web/'))
app.listen(666,()=>{
  console.log('start')
})